from rest_framework import serializers
from apps.products.models.products import ProductType


class ProductTypeSerializer(serializers.ModelSerializer):
    class Meta:
        model = ProductType
        fields = ["id", "name", "category"]
